package com.jd.limiter.controller;

//import lombok.extern.slf4j.Slf4j;
import com.jd.limiter.annotation.AccessLimiter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


//@Slf4j
@RestController
public class TestController {

    @AccessLimiter(limit = 10)
    @GetMapping("/test")
    public String test(){
        return "scuess";
    }

}



